<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>个人税率计算</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      background-color: #f4f4f4;
      text-align: center;
    }
    h1 {
      color: #336699;
    }
    form {
      margin-top: 20px;
    }
    label {
      display: block;
      margin-bottom: 10px;
      color: #336699;
    }
    input[type="number"] {
      padding: 5px;
      border: 1px solid #ccc;
      border-radius: 3px;
      width: 200px;
    }
    input[type="submit"] {
      padding: 8px 20px;
      background-color: #336699;
      color: #fff;
      border: none;
      border-radius: 3px;
      cursor: pointer;
    }
  </style>
</head>
<body>
<h1>个人税率计算器</h1>
<form action="IncomeTaxCalculatorServlet" method="post">
  <label for="income">年收入：</label>
  <input type="number" name="income" id="income" required><br><br>
  <input type="submit" value="计算">
</form>
</body>
</html>
